package com.yvon.service.demo.spring.beans.factory.config;

import com.yvon.service.demo.spring.beans.BeansException;

/**
 * @author Yvon
 * @since 2023/1/10
 */
public interface InstantiationAwareBeanPostProcessor extends BeanPostProcessor{

    /**
     * 在实例化过程
     *
     * @param beanClass bean类
     * @param beanName  bean名字
     * @return {@link Object}
     * @throws BeansException 豆子例外
     */
    Object postProcessBeforeInstantiation(Class<?> beanClass, String beanName) throws BeansException;
}
